export const msgTypes = {
	TEXT:0,
	IMG:1,
	AUDIO:2,
	VIDEO:3,
	GIFT:4,
	CALL:5,
	SEAT:6,
	RED:7,
	FACE:8,
	RECALL:9, 
	NOTICE:10, 
	CARD:11,
	FILE:12, 
	INFORM:13,
}

export const msgFilter=({id,from,to,cmd,chatType,msgType,groupId,content,extras,readBody})=>{
	return {
		id,
		from,
		to,
		cmd,
		chatType,
		msgType,
		content,
		groupId,
		extras,
		readBody
	}
}


export const dictateTypes ={
	
	call:100 ,
	rejectCall:101,
	busy:102,
	cancelCall:103,
	
	readConv:200,
	
	
	refreshFriend:300, 
	addFriend:301, 
	delFriend:302, 
	
	
	
	delMsg:500, 
}
